package com.jacenchiu.supportdesign;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

import butterknife.ButterKnife;
import butterknife.OnClick;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        ButterKnife.bind(this);
    }

    @OnClick(R.id.btn_appbar)
    void clickAppBar() {
        startActivity(new Intent(MainActivity.this, AppBarActivity.class));
    }

    @OnClick(R.id.btn_collapsing_toolbar)
    void clickCollapsingToolbar() {
        startActivity(new Intent(MainActivity.this, CollapsingToolbarActivity.class));
    }


}
